extends Node
class_name State

var state_machine: PlayerStateMachine 
onready var parent = get_parent()


func _ready():
	state_machine = owner.get_node('StateMachine')
	state_machine.states[name] = self


func unhandled_input(event: InputEvent):
	pass


func process(delta: float):
	pass


func physics_process(delta: float):
	pass


func enter(msg: Dictionary = {}):
	pass


func exit():
	pass
